package com.csaba.connector;

import com.csaba.util.I18N;

@SuppressWarnings( "serial" )
public class I18NServiceException extends ServiceException
{
	public I18NServiceException( final Object namespace, final String message )
	{
		super(I18N.getString(namespace, message), "");
	}

	public I18NServiceException( final Object namespace, final String message, final String nativeMessage )
	{
		super(I18N.getString(namespace, message), nativeMessage);
	}

	public I18NServiceException( final Object namespace, final String message, final Throwable causedBy )
	{
		super(I18N.getString(namespace, message), causedBy);
		setNativeMessage(causedBy.getMessage());
	}

}
